package cn.wd.user.qo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class QueryObject {

    private Integer currentPage = 1;
    private Integer pageSize = 5;

    public Integer getStart() {
        return (currentPage - 1) * pageSize;
    }
}